github.com/refraction-networking/utls.halfConn.mac (field)
10 uses
github.com/refraction-networking/utls (current package)
conn.go#L178: mac hash.Hash
conn.go#L223: hc.mac = hc.nextMac
conn.go#L390: minPayload := explicitNonceLen + roundUp(hc.mac.Size()+1, blockSize)
conn.go#L435: if hc.mac != nil {
conn.go#L436: macSize := hc.mac.Size()
conn.go#L446: localMAC := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload[:n], payload[n+macSize:])
conn.go#L512: mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil)
conn.go#L541: mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil)
conn.go#L910: payloadBytes -= c.out.mac.Size()
conn.go#L920: payloadBytes -= c.out.mac.Size()
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |